package com.love.cloud.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.love.cloud.common.mybatis.entity.SimpleBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author hongdongqu
 */
@Data
@Entity
@Table(name = "sys_user_group")
@TableName("sys_user_group")
@EqualsAndHashCode(callSuper = false)
@org.hibernate.annotations.Table(appliesTo = "sys_user_group",comment="用户组")
public class SysUserGroup extends SimpleBaseEntity{

    @Column(columnDefinition = "varchar(255) COMMENT '用户组名称'")
    private String name;// 用户组名称
    @Column(columnDefinition = "varchar(255) COMMENT '用户组code'")
    private String code;// 用户组code
    @Column(columnDefinition = "varchar(255) COMMENT '用户组类型'")
    private String type;// 用户组类型
    @Column(columnDefinition = "int COMMENT '排序'")
    private Integer sort;// 排序
    @Column(columnDefinition = "varchar(255) COMMENT '简拼'")
    private String firstSpell;// 简拼
    @Column(columnDefinition = "varchar(255) COMMENT '全拼'")
    private String spell;// 全拼
    @Column(columnDefinition = "varchar(255) COMMENT '备注'")
    private String remark;// 备注
}
